home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / sc3x03.exe / SEMAINFO.DOC < prev    next >
Text File  |  1992-10-09  |  2KB  |  41 lines

  1.  
  2.  
  3.  
  4.  
  5.                        GetSemaphoreInformation
  6.  
  7.     This call returns information about a single semaphore.  The
  8.     values returned are similiar to those returned in the old 
  9.     version of this call.  This function may be called iteratively
  10.     to return all of the connection information for the specified
  11.     semaphore.
  12.  
  13.     Function 23 (17h)
  14.  
  15.     Request Buffer
  16.  
  17.         Offset   Request Packet Contents        Bytes    Remarks
  18.         ------   ---------------------------    -----    -------
  19.         0        Sub-function Structure Len     2        Length of Request 
  20.         2        242 (F3h)                      1
  21.         3        Last Record Seen               2
  22.         5        Semaphore Name Length          1
  23.         6        Semaphore Name                 128      Max
  24.  
  25.     Reply Buffer
  26.  
  27.         Offset   Request Packet Contents        Bytes    Remarks
  28.         ------   ---------------------------    -----    -------
  29.         0        Next Request Record            2       
  30.         2        Open Count                     2       
  31.         4        Semaphore Value                1
  32.         5        Number Of Records              2        
  33.         6        Logical Connection Number 1    2       
  34.         8        Task Number 1                  2       
  35.         .        .                              .        
  36.         .        .                              .        
  37.         .        Logical Connection Number  n   2        
  38.         .        Task Number  n                 2        
  39.         .        .                              .        
  40.         .        .                              .        
  41.